package com.ruoyi.manage.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.manage.domain.request.AreaDetailsRequest;
import com.ruoyi.manage.domain.request.LocationRequest;

/**
 * @Author: wwy
 * @Date: 2021/1/7 11:13
 */
public interface IAppLocationAllService {
    /**
     * 获取定位信息
     * @param locationRequest
     * @return
     */
    AjaxResult getLocation(LocationRequest locationRequest);

    /**
     * 获取所在城市
     * @return
     */
    AjaxResult getCity();

    /**
     * 获取所在辖区
     * @param locationRequest
     * @return
     */
    AjaxResult getArea(LocationRequest locationRequest);

    /**
     * 获取所在高速
     * @param locationRequest
     * @return
     */
    AjaxResult getStreet(LocationRequest locationRequest);

    /**
     * 获取所在城市新版
     * @return
     */
    AjaxResult getCityNew();

    /**
     * 获取所在高速新版
     * @return
     */
    AjaxResult getStreetNew(LocationRequest locationRequest);

    /**
     * 获取辖区新版
     * @param locationRequest
     * @return
     */
    AjaxResult getAreaNew(LocationRequest locationRequest);

    /**
     * 获取高速详情辖区
     * @param areaDetailsRequest
     * @return
     */
    AjaxResult getAreaDetails(AreaDetailsRequest areaDetailsRequest);
}
